﻿using System;
using System.Collections.Generic;
using System.Text;
using MaximServices.Model;
using MaximServices.Repository;

namespace MaximServices.Services
{
    public class TestServices
    {
        private TestRepository _testRepository;

        public TestServices(TestRepository testRepository)
        {
            _testRepository = testRepository;
        }

        public List<Test> SearchTests()
        {
            return _testRepository.SearchTests("");
        }

        public void InsertTest()
        {
            _testRepository.InsertTest();
        }
    }
}
